package me.wanghongyu.railwayquery.utils;

public class StringUtils {

    /*
     合并数组
     */

    public static String mergeStringArray(String[] args){
        StringBuilder builder = new StringBuilder();
        for (String arg : args) {
            builder.append(arg);
        }
        return builder.toString();
    }

    /*
    返回数组首字母
     */
    public static String getStringArrayInitials(String[] args){
        StringBuilder builder = new StringBuilder();
        for (String arg : args) {
            builder.append(arg.charAt(0));
        }
        return builder.toString();
    }
}
